package com.dh.project.mapper;

import com.baomidou.mybatisplus.mapper.AutoMapper;
import com.dh.project.model.OrderInfo;
import com.dh.project.view.OrderDetailView;
import com.dh.project.view.OrderListView;

import java.util.List;
import java.util.Map;

public interface OrderInfoMapper extends AutoMapper<OrderInfo>{
    int deleteByPrimaryKey(Integer order_id);

    int insert(OrderInfo record);

    int insertSelective(OrderInfo record);

    OrderInfo selectByPrimaryKey(Integer order_id);

    int updateByPrimaryKeySelective(OrderInfo record);

    int updateByPrimaryKey(OrderInfo record);

    List<OrderListView> selectOrderListByMap(Map map);

    OrderDetailView selectOrderDetailByMap(Map map);
}